<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<title>Insert title here</title>
<SCRIPT type="text/javascript">
<c:if test="${!empty msg}">
alert("${msg}");
</c:if>
</SCRIPT>
<c:url value="/boardqaEdit.do" var="boardqaEdit">
	<c:param name="qa_no" value="${boardqa.qa_no }" />
</c:url>
<c:url value="/boardqaFormRe.do" var="boardqaFormRe">
	<c:param name="qa_no" value="${boardqa.qa_no }" />
</c:url>
<c:url value="/boardqaList.do" var="boardqaList" />
</head>

<body>
<div id="imgt3">
	<img src="${cPath }/css/b4.png" width="35%" align="left"><br>
	<br><br><br><br>
	</div>
<div align="center" id="boardForm2">
<table>
	<tr>
		<th width="30%">제목</th>
		<td id="left">${boardqa.qa_title }</td>
	</tr>
	<tr>
		<th width="30%">작성자</th>
		<td id="left">${boardqa.qa_writer }</td>
	</tr>
	<tr>
		<th width="30%">내용</th>
		<td id="left">${boardqa.qa_content }</td>
	</tr>
	
	
</table><br><br>
			<input type="submit" value="수정하기" onclick="window.location.href='${boardqaEdit }'"/>
			<input type="button" value="목록가기" onclick="window.location.href='${boardqaList }'"/>
			<c:if test="${boardqa.qa_depth!=4 }">
				<input type="button" value="답글" onclick="window.location.href='${boardqaFormRe}'" />
			</c:if>
</div>
</body>
</html>